package cn.beyond.vehicleManagement.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * 驾照表
 */
public class DrivingLicense implements Serializable {
    private Integer id;//驾照序号
    private String driving_license_No;//驾照编号
    private String driver_id;//驾驶员Id
    private String opening_date;//发证日期
    private String driver_school;//驾校名称
    private Integer drive_type;//能驾驶车型

    public DrivingLicense() {
    }

    public DrivingLicense(Integer id, String driving_license_No, String driver_id, String opening_date,
                          String driver_school, Integer drive_type) {
        this.id = id;
        this.driving_license_No = driving_license_No;
        this.driver_id = driver_id;
        this.opening_date = opening_date;
        this.driver_school = driver_school;
        this.drive_type = drive_type;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDriving_license_No() {
        return driving_license_No;
    }

    public void setDriving_license_No(String driving_license_No) {
        this.driving_license_No = driving_license_No;
    }

    public String getDriver_id() {
        return driver_id;
    }

    public void setDriver_id(String driver_id) {
        this.driver_id = driver_id;
    }

    public String getOpening_date() {
        return opening_date;
    }

    public void setOpening_date(String opening_date) {
        this.opening_date = opening_date;
    }

    public String getDriver_school() {
        return driver_school;
    }

    public void setDriver_school(String driver_school) {
        this.driver_school = driver_school;
    }

    public Integer getDrive_type() {
        return drive_type;
    }

    public void setDrive_type(Integer drive_type) {
        this.drive_type = drive_type;
    }

    @Override
    public String toString() {
        return "DrivingLicense{" +
                "id=" + id +
                ", driving_license_No='" + driving_license_No + '\'' +
                ", driver_id=" + driver_id +
                ", opening_date=" + opening_date +
                ", driver_school='" + driver_school + '\'' +
                ", drive_type=" + drive_type +
                '}';
    }
}
